﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using InfraWEB.BLL;
using InfraWEB.DAL;

namespace InfraWEB.UI
{
    public partial class RelatorioSalas_ItensComuns : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            //LoadPredios();
           // LoadSalas();

            if (!Page.IsPostBack)
            {
                  showItens();
            //    ddlPredio.SelectedIndex = ddlPredio.Items.Count - 1;
            //    ddlSala.SelectedIndex = ddlSala.Items.Count - 1;
            }
            
        }

        protected void showItens()
        {
            Relatorio relItensComuns = new Relatorio();
            itensGridView.DataSource = relItensComuns.GetAllItens();
            itensGridView.DataBind();
        }

        protected void ddlPredio_IndexChanged(object sender, EventArgs e)
        {
            
            
        }

        protected void btnGerarRelatorio_Click(object sender, EventArgs e)
        {
            
        }

        protected void txtDataInicial_TextChanged(object sender, EventArgs e)
        {

            
        }

        protected void txtDataFinal_TextChanged(object sender, EventArgs e)
        {

        }
    }
}
